/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bookstore.iservice;

import bookstore.idao.IAdminDao;
import bookstore.model.Admin;
import java.util.List;

public interface IAdminService {

    public void setAdminDao(IAdminDao adminDao);

    public void addAdmin(Admin admin);

    public void editAdmin(Admin admin);

    public void deleteAdmin(Integer id);

    public Admin findAdminById(Integer id);

    public Admin findAdminsByNameAndPassword(String name, String password);

    public List<Admin> findAllAdmins();
}
